chore: bump Node.js requirement to >=20#2418
chore: bump Node.js requirement to >=20#2418Varadraj75 wants to merge 4 commits intoasyncapi:masterfrom
Conversation
✅ Deploy Preview for modelina canceled.
|
There was a problem hiding this comment.
Pull request overview
This PR updates the minimum Node.js version requirement from 18 to 20 to align with dependency requirements (specifically yargs-parser) and fix release workflow failures.
Changes:
- Updated
.nvmrcfromv18tov20 - Updated
engines.nodeinpackage.jsonfrom>=18to>=20
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .nvmrc | Updated Node.js version specification from v18 to v20 for nvm users |
| package.json | Updated minimum Node.js engine requirement from >=18 to >=20 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Pull Request Test Coverage Report for Build 21798551210Details
💛 - Coveralls |
|
Hi @jonaslagoni |
|
Guess this is a dependency for the CI script... This is a breaking change for the library, have to include it in the |
|
Thanks for the clarification @jonaslagoni |
|
Yea feel free @Varadraj75 |
|
|
Continued in #2434 |
|
@all-contributors please add @Varadraj75 for code, infra |
|
I've put up a pull request to add @Varadraj75! 🎉 |



Description
This PR updates the Node.js version requirement to ensure compatibility with dependencies that require Node.js >= 20.
Specifically:
.nvmrcfromv18tov20engines.nodeinpackage.jsonfrom>=18to>=20This aligns the project configuration with the minimum Node.js version required by
yargs-parserand fixes the release workflow failure.Related Issue
Fixes release workflow failure due to Node.js v18 being used in CI, which is incompatible with
yargs-parserrequiring Node.js >= 20.closes #2417
Checklist
npm run lint).npm run test).Additional Notes
All tests and example workflows were run locally using Node.js v20.20.0 and passed successfully.
No dependency or lockfile changes are included in this PR; only configuration files related to Node.js version were modified.